Get POP3 Mail Messages
AutomatR.Mail.GetPOP3MailMessages
The "Get POP3 Mail Messages" activity in AutomatR is designed to retrieve POP3 email messages from the specified server. This activity simplifies the process of fetching email messages from a POP3 server, allowing seamless integration into your automation workflows.
Properties
Name | Description |
---|---|
Input | |
Connection Type | Specify the desired connection type by selecting from a dropdown menu. |
Delete Mail | Specifies whether the read messages should be marked for deletion. |
Text Output | If checked, retrieved messages will be treated as text output. |
Top | Specify the number of email messages to be retrieved from the email server. |
Credential | |
Specify the email account from which you want to retrieve the message. | |
Password | Specify the password of the email account used to retrieve the message. |
Configuration | |
Host | Specify the host name (e.g., "imap.gmail.com") to establish a connection with the POP3 server. |
Port | Specify the port used to connect to the email server and retrieve the email message. |
Misc | |
Display Name | The display name of the activity. A display name is automatically generated when you indicate a target. |
Optional | |
Delay | Enter the wait time in seconds (Example: 5 seconds) to start the activity. |
Output | |
Messages | Outputs the retrieved messages as a collection of MailMessage objects. |
How to Use
- Drag and drop the "Get POP3 Mail Messages" activity onto the workflow.
- Configure the properties by specifying the email account credentials, server details, and other optional settings.
- Optionally, customize the delay, text output, and choose whether to delete read messages.
- Execute the workflow to retrieve email messages from the specified POP3 server.
Example
Consider an example where the "Get POP3 Mail Messages" activity is used to fetch the latest 5 email messages from a Gmail account:
Get POP3 Mail Messages:
Email: "your_email@gmail.com"
Password: "your_password"
Host: "pop.gmail.com"
Port: 995
Connection Type: SSL/TLS
Top: 5
Delete Mail: false
Text Output: false
Delay: 0
Messages: mailMessages
In this example, the activity connects to the Gmail POP3 server, retrieves the latest 5 email messages, and stores them in the mailMessages
variable for further processing in the workflow.